package com.china_goldcard.igas.http.model.common.resp;

import com.china_goldcard.igas.http.base.HttpRespResult;

/**
 * 获取版本号响应结果
 */
public class VersionGetResp extends HttpRespResult {

    private VersionInfo result;

    public VersionInfo getResult() {
        return result;
    }

    public void setResult(VersionInfo result) {
        this.result = result;
    }

    // 版本信息
    class VersionInfo {

        // 版本号
        private String version;

        // APP是否强制更新 0：强制更新；1：提示更新；2：有更新；3无更新；
        private String isupdate;

        // APP版本升级说明 多条升级说明以‘&&’分隔
        private String remark;

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getIsupdate() {
            return isupdate;
        }

        public void setIsupdate(String isupdate) {
            this.isupdate = isupdate;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        @Override
        public String toString() {
            return "VersionGetResp{" +
                    "version='" + version + '\'' +
                    ", isupdate='" + isupdate + '\'' +
                    ", remark='" + remark + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "VersionGetResp{" +
                "result=" + result +
                "},Super{" + super.toString() + "}";
    }
}
